package com.xinruke.hostels.manage.user.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author GuoZheng
 * @ClassName RightAssignDto
 * @date：2019/6/24
 * @version: V1.0.0
 * @description：分配权限DTO
 */
@ApiModel("分配权限DTO")
@Data
public class RightAssignDto {
    @ApiModelProperty("角色和菜单集合")
    @NotEmpty(message = "角色和菜单集合不能为空")
    List<RoleAndMenusDTO> roleAndMenusDTOList;
}
